[INFO] fetching crate libp2p-autonat 0.15.0...
[INFO] checking libp2p-autonat-0.15.0 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate libp2p-autonat 0.15.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate libp2p-autonat 0.15.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate libp2p-autonat 0.15.0
[INFO] tweaked toml for crates.io crate libp2p-autonat 0.15.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate libp2p-autonat 0.15.0 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate libp2p-autonat 0.15.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libp2p-request-response v0.29.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d1e4a18255c1fbce5dab45518693e72997b1fa20f4329efcf84f162cf0e29f1
[INFO] running `Command { std: "docker" "start" "-a" "6d1e4a18255c1fbce5dab45518693e72997b1fa20f4329efcf84f162cf0e29f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d1e4a18255c1fbce5dab45518693e72997b1fa20f4329efcf84f162cf0e29f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d1e4a18255c1fbce5dab45518693e72997b1fa20f4329efcf84f162cf0e29f1", kill_on_drop: false }`
[INFO] [stdout] 6d1e4a18255c1fbce5dab45518693e72997b1fa20f4329efcf84f162cf0e29f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dffb9b40b7e3839941447f9e2d3566eb721d2245a0d34e568e94c4a14056890b
[INFO] running `Command { std: "docker" "start" "-a" "dffb9b40b7e3839941447f9e2d3566eb721d2245a0d34e568e94c4a14056890b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]    Compiling data-encoding v2.8.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking unsigned-varint v0.8.0
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking quick-protobuf v0.8.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking multihash v0.19.3
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.15
[INFO] [stderr]    Compiling libp2p-swarm-derive v0.35.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking data-encoding-macro v0.1.17
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking libp2p-identity v0.2.12
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking asynchronous-codec v0.7.0
[INFO] [stderr]     Checking futures-bounded v0.2.4
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking quick-protobuf-codec v0.3.1
[INFO] [stderr]     Checking multistream-select v0.13.0
[INFO] [stderr]     Checking rw-stream-sink v0.4.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking multiaddr v0.18.2
[INFO] [stderr]     Checking libp2p-core v0.43.1
[INFO] [stderr]     Checking libp2p-swarm v0.47.0
[INFO] [stderr]     Checking libp2p-request-response v0.29.0
[INFO] [stderr]     Checking libp2p-identify v0.47.0
[INFO] [stderr]     Checking libp2p-autonat v0.15.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_core::PeerId` in the current scope
[INFO] [stdout]    --> src/v1/behaviour/as_server.rs:404:31
[INFO] [stdout]     |
[INFO] [stdout] 404 |         let peer_id = PeerId::random();
[INFO] [stdout]     |                               ^^^^^^ function or associated item not found in `libp2p_core::PeerId`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `libp2p_core::PeerId` consider using one of the following associated functions:
[INFO] [stdout]       libp2p_core::PeerId::from_public_key
[INFO] [stdout]       libp2p_core::PeerId::from_bytes
[INFO] [stdout]       libp2p_core::PeerId::from_multihash
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/peer_id.rs:69:5
[INFO] [stdout]     |
[INFO] [stdout] 69  |     pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     pub fn from_bytes(data: &[u8]) -> Result<PeerId, ParseError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn from_multihash(multihash: Multihash) -> Result<PeerId, Multihash> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_core::PeerId` in the current scope
[INFO] [stdout]    --> src/v1/behaviour/as_server.rs:419:41
[INFO] [stdout]     |
[INFO] [stdout] 419 |             .with(Protocol::P2p(PeerId::random()));
[INFO] [stdout]     |                                         ^^^^^^ function or associated item not found in `libp2p_core::PeerId`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `libp2p_core::PeerId` consider using one of the following associated functions:
[INFO] [stdout]       libp2p_core::PeerId::from_public_key
[INFO] [stdout]       libp2p_core::PeerId::from_bytes
[INFO] [stdout]       libp2p_core::PeerId::from_multihash
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/peer_id.rs:69:5
[INFO] [stdout]     |
[INFO] [stdout] 69  |     pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     pub fn from_bytes(data: &[u8]) -> Result<PeerId, ParseError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn from_multihash(multihash: Multihash) -> Result<PeerId, Multihash> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_core::PeerId` in the current scope
[INFO] [stdout]    --> src/v1/behaviour/as_server.rs:426:41
[INFO] [stdout]     |
[INFO] [stdout] 426 |             .with(Protocol::P2p(PeerId::random()))
[INFO] [stdout]     |                                         ^^^^^^ function or associated item not found in `libp2p_core::PeerId`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `libp2p_core::PeerId` consider using one of the following associated functions:
[INFO] [stdout]       libp2p_core::PeerId::from_public_key
[INFO] [stdout]       libp2p_core::PeerId::from_bytes
[INFO] [stdout]       libp2p_core::PeerId::from_multihash
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/peer_id.rs:69:5
[INFO] [stdout]     |
[INFO] [stdout] 69  |     pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     pub fn from_bytes(data: &[u8]) -> Result<PeerId, ParseError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn from_multihash(multihash: Multihash) -> Result<PeerId, Multihash> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_core::PeerId` in the current scope
[INFO] [stdout]    --> src/v1/protocol.rs:288:30
[INFO] [stdout]     |
[INFO] [stdout] 288 |             peer_id: PeerId::random(),
[INFO] [stdout]     |                              ^^^^^^ function or associated item not found in `libp2p_core::PeerId`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `libp2p_core::PeerId` consider using one of the following associated functions:
[INFO] [stdout]       libp2p_core::PeerId::from_public_key
[INFO] [stdout]       libp2p_core::PeerId::from_bytes
[INFO] [stdout]       libp2p_core::PeerId::from_multihash
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/peer_id.rs:69:5
[INFO] [stdout]     |
[INFO] [stdout] 69  |     pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     pub fn from_bytes(data: &[u8]) -> Result<PeerId, ParseError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn from_multihash(multihash: Multihash) -> Result<PeerId, Multihash> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `libp2p_core::PeerId` in the current scope
[INFO] [stdout]    --> src/v1/protocol.rs:336:38
[INFO] [stdout]     |
[INFO] [stdout] 336 |                     id: Some(PeerId::random().to_bytes()),
[INFO] [stdout]     |                                      ^^^^^^ function or associated item not found in `libp2p_core::PeerId`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `libp2p_core::PeerId` consider using one of the following associated functions:
[INFO] [stdout]       libp2p_core::PeerId::from_public_key
[INFO] [stdout]       libp2p_core::PeerId::from_bytes
[INFO] [stdout]       libp2p_core::PeerId::from_multihash
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.12/src/peer_id.rs:69:5
[INFO] [stdout]     |
[INFO] [stdout] 69  |     pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     pub fn from_bytes(data: &[u8]) -> Result<PeerId, ParseError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn from_multihash(multihash: Multihash) -> Result<PeerId, Multihash> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_swarm_test`
[INFO] [stdout]   --> tests/autonatv2.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use libp2p_swarm_test::SwarmExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libp2p_swarm_test`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 11 - use libp2p_swarm_test::SwarmExt;
[INFO] [stdout] 11 + use libp2p_swarm::SwarmExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_swarm_test`
[INFO] [stdout]   --> tests/test_client.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use libp2p_swarm_test::SwarmExt as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libp2p_swarm_test`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 29 - use libp2p_swarm_test::SwarmExt as _;
[INFO] [stdout] 29 + use libp2p_swarm::SwarmExt as _;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_client.rs:416:28
[INFO] [stdout]     |
[INFO] [stdout] 416 |     let mut swarm = Swarm::new_ephemeral_tokio(|key| {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:417:27
[INFO] [stdout]     |
[INFO] [stdout] 417 |     let mut node = Swarm::new_ephemeral_tokio(|identity| CombinedServer {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_client.rs:38:29
[INFO] [stdout]     |
[INFO] [stdout] 38  |     let mut client = Swarm::new_ephemeral_tokio(|key| {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:430:27
[INFO] [stdout]     |
[INFO] [stdout] 430 |     let mut node = Swarm::new_ephemeral_tokio(|identity| CombinedClient {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:459:27
[INFO] [stdout]     |
[INFO] [stdout] 459 |     let mut node = Swarm::new_ephemeral_tokio(|identity| {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_client.rs:140:29
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let mut client = Swarm::new_ephemeral_tokio(|key| {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connect` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:473:9
[INFO] [stdout]     |
[INFO] [stdout] 473 |     bob.connect(&mut alice).await;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `is_connected` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 473 -     bob.connect(&mut alice).await;
[INFO] [stdout] 473 +     bob.is_connected(&mut alice).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_client.rs:224:29
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let mut client = Swarm::new_ephemeral_tokio(|key| {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:485:14
[INFO] [stdout]     |
[INFO] [stdout] 484 |           let (dialed_peer_id, dialed_connection_id) = alice
[INFO] [stdout]     |  ______________________________________________________-
[INFO] [stdout] 485 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_client.rs:275:29
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let mut client = Swarm::new_ephemeral_tokio(|key| {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:496:14
[INFO] [stdout]     |
[INFO] [stdout] 495 |           let _ = alice
[INFO] [stdout]     |  _________________-
[INFO] [stdout] 496 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_client.rs:313:29
[INFO] [stdout]     |
[INFO] [stdout] 313 |     let mut client = Swarm::new_ephemeral_tokio(|key| {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:512:14
[INFO] [stdout]     |
[INFO] [stdout] 511 | /         alice
[INFO] [stdout] 512 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:520:13
[INFO] [stdout]     |
[INFO] [stdout] 520 |         bob.wait(|event| match event {
[INFO] [stdout]     |         ----^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_client.rs:382:29
[INFO] [stdout]     |
[INFO] [stdout] 382 |     let mut client = Swarm::new_ephemeral_tokio(|key| {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-autonat` (test "test_client") due to 8 previous errors
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:526:14
[INFO] [stdout]     |
[INFO] [stdout] 525 |           let incoming_conn_id = bob
[INFO] [stdout]     |  ________________________________-
[INFO] [stdout] 526 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:533:14
[INFO] [stdout]     |
[INFO] [stdout] 532 |           let _ = bob
[INFO] [stdout]     |  _________________-
[INFO] [stdout] 533 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:543:13
[INFO] [stdout]     |
[INFO] [stdout] 543 |         bob.wait(|event| match event {
[INFO] [stdout]     |         ----^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/autonatv2.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |           let (dialed_peer_id, dialed_connection_id) = alice
[INFO] [stdout]    |  ______________________________________________________-
[INFO] [stdout] 30 | |             .wait(|event| match event {
[INFO] [stdout]    | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/autonatv2.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |           let _ = alice
[INFO] [stdout]    |  _________________-
[INFO] [stdout] 43 | |             .wait(|event| match event {
[INFO] [stdout]    | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/autonatv2.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |           } = alice
[INFO] [stdout]    |  _____________-
[INFO] [stdout] 65 | |             .wait(|event| match event {
[INFO] [stdout]    | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/autonatv2.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         bob.wait(|event| match event {
[INFO] [stdout]    |         ----^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/autonatv2.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |           let incoming_conn_id = bob
[INFO] [stdout]    |  ________________________________-
[INFO] [stdout] 87 | |             .wait(|event| match event {
[INFO] [stdout]    | |             -^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/autonatv2.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 93 |           let _ = bob
[INFO] [stdout]    |  _________________-
[INFO] [stdout] 94 | |             .wait(|event| match event {
[INFO] [stdout]    | |             -^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_swarm_test`
[INFO] [stdout]   --> tests/test_server.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use libp2p_swarm_test::SwarmExt as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libp2p_swarm_test`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 29 - use libp2p_swarm_test::SwarmExt as _;
[INFO] [stdout] 29 + use libp2p_swarm::SwarmExt as _;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |           } = bob
[INFO] [stdout]     |  _____________-
[INFO] [stdout] 110 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 149 |           let (alice_dialing_peer, alice_conn_id) = alice
[INFO] [stdout]     |  ___________________________________________________-
[INFO] [stdout] 150 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut outgoing_conn_error = alice
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 159 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:363:16
[INFO] [stdout]     |
[INFO] [stdout] 363 |         Swarm::new_ephemeral_tokio(|key| Behaviour::new(key.public().to_peer_id(), config));
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:183:14
[INFO] [stdout]     |
[INFO] [stdout] 182 |           let data_amount = alice
[INFO] [stdout]     |  ___________________________-
[INFO] [stdout] 183 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral_tokio` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:371:29
[INFO] [stdout]     |
[INFO] [stdout] 371 |     let mut client = Swarm::new_ephemeral_tokio(|key| {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 | /     pub fn new(
[INFO] [stdout] 351 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 352 | |         behaviour: TBehaviour,
[INFO] [stdout] 353 | |         local_peer_id: PeerId,
[INFO] [stdout] 354 | |         config: Config,
[INFO] [stdout] 355 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:201:19
[INFO] [stdout]     |
[INFO] [stdout] 201 |             alice.loop_on_next().await;
[INFO] [stdout]     |                   ^^^^^^^^^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:210:14
[INFO] [stdout]     |
[INFO] [stdout] 209 |           let data_amount = bob
[INFO] [stdout]     |  ___________________________-
[INFO] [stdout] 210 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `listen` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:35:35
[INFO] [stdout]     |
[INFO] [stdout] 35  |     let (_, client_addr) = client.listen().await;
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `listen_on` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:386:5
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn listen_on(&mut self, addr: Multiaddr) -> Result<ListenerId, TransportError<io::Error>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/test_server.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |     tokio::spawn(client.loop_on_next());
[INFO] [stdout]    |                         ^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:246:14
[INFO] [stdout]     |
[INFO] [stdout] 245 |           let (alice_dialing_peer, alice_conn_id) = alice
[INFO] [stdout]     |  ___________________________________________________-
[INFO] [stdout] 246 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:255:14
[INFO] [stdout]     |
[INFO] [stdout] 254 |           let mut outgoing_conn_error = alice
[INFO] [stdout]     |  _______________________________________-
[INFO] [stdout] 255 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_swarm_event` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/test_server.rs:46:22
[INFO] [stdout]    |
[INFO] [stdout] 46 |         match server.next_swarm_event().await {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:280:14
[INFO] [stdout]     |
[INFO] [stdout] 279 | /         alice
[INFO] [stdout] 280 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 298 |         bob.wait(|event| match event {
[INFO] [stdout]     |         ----^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-autonat` (lib test) due to 5 previous errors
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/test_server.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let request_probe_id = match server.next_behaviour_event().await {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 -     let request_probe_id = match server.next_behaviour_event().await {
[INFO] [stdout] 73 +     let request_probe_id = match server.behaviour_mut().await {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:338:47
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let handler = tokio::spawn(async { hannes.loop_on_next().await });
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ method not found in `Swarm<libp2p_identify::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_swarm_event` found for struct `Swarm` in the current scope
[INFO] [stdout]   --> tests/test_server.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |         match server.next_swarm_event().await {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:342:14
[INFO] [stdout]     |
[INFO] [stdout] 341 |           let (alice_dialing_peer, alice_conn_id) = alice
[INFO] [stdout]     |  ___________________________________________________-
[INFO] [stdout] 342 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:351:14
[INFO] [stdout]     |
[INFO] [stdout] 350 | /         alice
[INFO] [stdout] 351 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:117:18
[INFO] [stdout]     |
[INFO] [stdout] 117 |     match server.next_behaviour_event().await {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 117 -     match server.next_behaviour_event().await {
[INFO] [stdout] 117 +     match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:367:14
[INFO] [stdout]     |
[INFO] [stdout] 366 |           let data_amount = alice
[INFO] [stdout]     |  ___________________________-
[INFO] [stdout] 367 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:138:25
[INFO] [stdout]     |
[INFO] [stdout] 138 |     tokio::spawn(client.loop_on_next());
[INFO] [stdout]     |                         ^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:387:23
[INFO] [stdout]     |
[INFO] [stdout] 387 |             _ = alice.loop_on_next() => {
[INFO] [stdout]     |                       ^^^^^^^^^^^^ method not found in `Swarm<CombinedServer>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:140:41
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let request_probe_id = match server.next_behaviour_event().await {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 140 -     let request_probe_id = match server.next_behaviour_event().await {
[INFO] [stdout] 140 +     let request_probe_id = match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/autonatv2.rs:395:14
[INFO] [stdout]     |
[INFO] [stdout] 394 |           let bytes_sent = bob
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 395 | |             .wait(|event| match event {
[INFO] [stdout]     | |             -^^^^ method not found in `Swarm<CombinedClient>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_swarm_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:149:22
[INFO] [stdout]     |
[INFO] [stdout] 149 |         match server.next_swarm_event().await {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |     match server.next_behaviour_event().await {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 164 -     match server.next_behaviour_event().await {
[INFO] [stdout] 164 +     match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `listen` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:192:16
[INFO] [stdout]     |
[INFO] [stdout] 192 |         client.listen().await;
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `listen_on` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:386:5
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn listen_on(&mut self, addr: Multiaddr) -> Result<ListenerId, TransportError<io::Error>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |         tokio::spawn(client.loop_on_next());
[INFO] [stdout]     |                             ^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-autonat` (test "autonatv2") due to 34 previous errors
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:196:56
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let (first_probe_id, first_peer_id) = match server.next_behaviour_event().await {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 196 -     let (first_probe_id, first_peer_id) = match server.next_behaviour_event().await {
[INFO] [stdout] 196 +     let (first_probe_id, first_peer_id) = match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:202:22
[INFO] [stdout]     |
[INFO] [stdout] 202 |         match server.next_behaviour_event().await {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 202 -         match server.next_behaviour_event().await {
[INFO] [stdout] 202 +         match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `listen` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 232 |     client.listen().await;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `listen_on` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:386:5
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn listen_on(&mut self, addr: Multiaddr) -> Result<ListenerId, TransportError<io::Error>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:233:25
[INFO] [stdout]     |
[INFO] [stdout] 233 |     tokio::spawn(client.loop_on_next());
[INFO] [stdout]     |                         ^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:235:39
[INFO] [stdout]     |
[INFO] [stdout] 235 |     let first_probe_id = match server.next_behaviour_event().await {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 235 -     let first_probe_id = match server.next_behaviour_event().await {
[INFO] [stdout] 235 +     let first_probe_id = match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:243:18
[INFO] [stdout]     |
[INFO] [stdout] 243 |     match server.next_behaviour_event().await {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 243 -     match server.next_behaviour_event().await {
[INFO] [stdout] 243 +     match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:251:18
[INFO] [stdout]     |
[INFO] [stdout] 251 |     match server.next_behaviour_event().await {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 251 -     match server.next_behaviour_event().await {
[INFO] [stdout] 251 +     match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `listen` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:279:12
[INFO] [stdout]     |
[INFO] [stdout] 279 |     client.listen().await;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `listen_on` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:386:5
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn listen_on(&mut self, addr: Multiaddr) -> Result<ListenerId, TransportError<io::Error>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:283:25
[INFO] [stdout]     |
[INFO] [stdout] 283 |     tokio::spawn(client.loop_on_next());
[INFO] [stdout]     |                         ^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:285:39
[INFO] [stdout]     |
[INFO] [stdout] 285 |     let dial_addresses = match server.next_behaviour_event().await {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 285 -     let dial_addresses = match server.next_behaviour_event().await {
[INFO] [stdout] 285 +     let dial_addresses = match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_swarm_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:297:22
[INFO] [stdout]     |
[INFO] [stdout] 297 |         match server.next_swarm_event().await {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `listen` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 340 |     client.listen().await;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `listen_on` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.47.0/src/lib.rs:386:5
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn listen_on(&mut self, addr: Multiaddr) -> Result<ListenerId, TransportError<io::Error>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `loop_on_next` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:341:25
[INFO] [stdout]     |
[INFO] [stdout] 341 |     tokio::spawn(client.loop_on_next());
[INFO] [stdout]     |                         ^^^^^^^^^^^^ method not found in `Swarm<libp2p_autonat::Behaviour>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_behaviour_event` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/test_server.rs:345:18
[INFO] [stdout]     |
[INFO] [stdout] 345 |     match server.next_behaviour_event().await {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `behaviour_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 345 -     match server.next_behaviour_event().await {
[INFO] [stdout] 345 +     match server.behaviour_mut().await {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-autonat` (test "test_server") due to 29 previous errors
[INFO] running `Command { std: "docker" "inspect" "dffb9b40b7e3839941447f9e2d3566eb721d2245a0d34e568e94c4a14056890b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dffb9b40b7e3839941447f9e2d3566eb721d2245a0d34e568e94c4a14056890b", kill_on_drop: false }`
[INFO] [stdout] dffb9b40b7e3839941447f9e2d3566eb721d2245a0d34e568e94c4a14056890b
